﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/UserLayout.Master" AutoEventWireup="true" CodeBehind="AddNewProduct.aspx.cs" Inherits="DigitalAnts.User.AddNewProduct" %>
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>

<%@ Register src="../webUserControl/WebLoginStatus.ascx" tagname="WebLoginStatus" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<uc1:WebLoginStatus ID="WebLoginStatus1" runat="server" />
<div class="col-main">
 <div class="page-title">
    <h1><asp:Label ID="lbTitle" runat="server"></asp:Label></h1>
</div>


<ol class="opc">
    <li id="opc-billing" class="section allow">
        <div class="step-title">
            <span class="number">1</span>
            <h2>Thông Tin Xe</h2>
        </div>
        <div class="step a-item">

<fieldset>
    <ul class="form-list">
        <li id="billing-new-address-form">
        <fieldset>
            <ul>
            <li class="wide">
                    <label class="required">Tên bài đăng
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ValidationGroup="reg" ControlToValidate="txtFirstName" Text="*" SetFocusOnError="True" Display="Dynamic">*</asp:RequiredFieldValidator>
         <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ControlToValidate="txtFirstName" runat="server" ValidationExpression="^[\s\S]{1,10}$" Text="20-100 ký tự" SetFocusOnError="true" Display="Dynamic" ValidationGroup="reg" />
                    </label>
                    <div class="input-box">
                    <asp:TextBox ID="txtProductTitle" runat="server" class="input-text required-entry"  />
                    </div>
                </li>
                <li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Hãng sản xuất</label>
        <div class="input-box">
            <asp:DropDownList ID="ddlProducer" runat="server"></asp:DropDownList>
        </div>
    </div>
    <div class="field name-lastname">
        <label class="required">Đời xe (Năm)
        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtPhoneNumber" ErrorMessage="*" ValidationGroup="reg"></asp:RequiredFieldValidator>
          <asp:RegularExpressionValidator ID="regEM4" runat="server"  ControlToValidate="txtPhoneNumber"  SetFocusOnError="True" 
                ValidationExpression="^\d+$" ValidationGroup="reg">Phải là số.</asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator6" ControlToValidate="txtPhoneNumber" runat="server" ValidationExpression="^[\s\S]{4,4}$" Text="9-12 ký tự" SetFocusOnError="true" Display="Dynamic" ValidationGroup="reg" />
        </label>

        <div class="input-box">
            <asp:DropDownList ID="ddlYear" runat="server"></asp:DropDownList>
        </div>
    </div>
</div>
</li>
<li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Dòng xe</label>
        <div class="input-box">
            <asp:TextBox ID="txtName" runat="server" class="input-text required-entry"  />
        </div>
    </div>
    <div class="field name-lastname">
        <label class="required"><em>*</em>Model</label>

        <div class="input-box">
            <asp:TextBox ID="txtModel" runat="server" class="input-text required-entry"  />
        </div>
    </div>
</div>
</li>
               <li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Màu xe</label>
        <div class="input-box">
            <asp:TextBox ID="txtColor" runat="server" class="input-text required-entry"  />
        </div>
    </div>
    <div class="field name-lastname">
        <label class="required"><em>*</em>Cây số đã đi</label>

        <div class="input-box">
            <asp:TextBox ID="txtKm" runat="server" class="input-text required-entry"  />
        </div>
    </div>
</div>
</li>
              
                   <li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Phân khối (Cc)</label>
        <div class="input-box">
            <asp:DropDownList ID="ddlCc" runat="server"></asp:DropDownList>
        </div>
    </div>
    <div class="field">
                        <label>Nhiên liệu</label>
                        <div class="input-box">
                           <asp:DropDownList ID="ddlFuel" runat="server"></asp:DropDownList>
                        </div>
                    </div>
</div>
</li>
                <li class="fields">
                    <div class="field">
                        <label for="billing:telephone" class="required"><em>*</em>Khóa điện tử</label>
                         <div class="input-box" id="radio">
            <asp:RadioButton ID="rbAntiFalse" runat="server" Text="Không" GroupName="Anti" Checked="true"/>
            <asp:RadioButton ID="rbAntiTrue" runat="server" Text="Có" GroupName="Anti"/>
        </div>

                    </div>
                    <div class="field name-lastname">
        <label class="required"><em>*</em>Tình trạng xe</label>

        <div class="input-box" id="radio">
            <asp:RadioButton ID="rdIsOld" runat="server" Text="Cũ" GroupName="Is" Checked="true"/>
            <asp:RadioButton ID="rdIsNew" runat="server" Text="Mới" GroupName="Is"/>
        </div>
    </div>
                    
                </li>
                <li class="fields">
                    <div class="field">
                        <label class="required"><em>*</em>Thời hạn mua bán</label>
                        <div class="input-box">
                            <asp:DropDownList ID="ddlLower" runat="server"></asp:DropDownList>
                        </div>

                    </div>
                    <div class="field">
                        <label>Giá bán</label>
                        <div class="input-box">
                            <asp:TextBox ID="txtPrice" runat="server" class="input-text required-entry"  />
                        </div>
                    </div>
                </li>
                <li class="wide">
                    <label class="required"><em>*</em>Giới thiệu</label>
                    <div class="input-box">

                        <asp:TextBox ID="txtContent" runat="server" class="input-text required-entry" TextMode="MultiLine" CssClass="multi"/>
                    </div>
                </li>
                                                 
                            </ul>


        </fieldset>
     </li>
           
        </ul>
        
</fieldset>
        </div>
    </li>
      <li class="section">
        <div class="step-title">
            <span class="number">2</span>

            <h2>Hình ảnh xe</h2>
           
        </div>
        <div  class="step a-item" id="b2" runat="server">
    <ul class="form-list">
            <li id="Li1">
            <fieldset>

                <ul><li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Ảnh đại diện</label>
        <div class="input-box">
        </div>
    </div>
    <div class="field name-lastname">
        <label class="required"><em>*</em>Ảnh liên quan</label>

        <div class="input-box">
        </div>
    </div>
</div>
</li>     
                                </ul>
            </fieldset>
        </li>
        
    </ul>

        </div>
    </li>
    <li class="section">
        <div class="step-title">
            <span class="number">3</span>

            <h2>Thông tin nơi bán</h2>
        </div>
        <div  class="step a-item" id="b3" runat="server">
    <ul class="form-list">
            <li id="shipping-new-address-form">
            <fieldset>

                <ul><li class="fields"><div class="customer-name">
    <div class="field name-firstname">

        <label class="required"><em>*</em>Quốc gia</label>
        <div class="input-box">
            <asp:DropDownList ID="ddlCountry" runat="server"></asp:DropDownList>
        </div>
    </div>
    <div class="field name-lastname">
        <label class="required"><em>*</em>Thành phố</label>

        <div class="input-box">
            <asp:DropDownList ID="ddlCity" runat="server"></asp:DropDownList>
        </div>
    </div>
</div>
</li>     
                                </ul>
            </fieldset>
        </li>
        
    </ul>

        </div>
    </li>
     <li class="section">
        <div class="step-title">
            <span class="number">4</span>

            <h2>Xác nhận thông tin</h2>
            <a href="#">Edit</a>
        </div>
        <div  class="step a-item">
  
  
   <div class="buttons-set" id="billing-buttons-container">
        <p class="required">* Không được để trống</p>
        <asp:Button ID="btn_AddPro" runat="server" Text="Xác Nhận" OnClick="btn_AddPro_Click"/>
       
    </div>


        </div>
    </li>
</ol>

					</div>
</asp:Content>
